/*
 * @Author: your name
 * @Date: 2021-10-16 09:18:56
 * @LastEditTime: 2021-10-16 09:25:15
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /a1902-a-group/admin_pc/src/plugin/index.js
 */

export const myPlugin = {
    install(app, option) {
        // vue内的 属性app
        // optin 传递的参数 
        app.mixin({
            data() {
                return {
                    myNames: '1902A'
                }
            },
            methods: {
                upname(){
                    alert(123)
                }
            },
        })
    }
}